package com.caikun.service_management.service;

import com.caikun.model.dto.PackageDTO;
import com.caikun.model.dto.PackageUpdateDTO;
import com.caikun.model.entity.PackageEntity;

import java.util.Map;

public interface PackageService {
    /**
     * 添加套餐和套餐详情
     * @param packageDTO
     * @return
     */
    Map<String, Object> add(PackageDTO packageDTO);

    /**
     * 删除套餐和套餐详情
     * @param packageId
     * @return
     */
    Boolean delete(Integer packageId);

    /**
     * 修改套餐和套餐详情
     * @param packageUpdateDTO
     * @return
     */
    Map<String, Object> update(PackageUpdateDTO packageUpdateDTO);
}
